home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 2 / LSD and 17bit Compendium Deluxe - Volume II.iso / a / prog / misc / xes120.lha / XES / REXX / ReqFind.xdme < prev    next >
Text File  |  1994-11-09  |  418b  |  17 lines

  1. /* ReqFind.xdme */
  2.  
  3. if ~show("L","rexxreqtools.library") then
  4.     if ~addlib("rexxreqtools.library", 0, -30) then exit
  5.  
  6. options results
  7. address 'XDME.1'
  8. 'rxresult ($findstr )'
  9. F = strip(result, "T")
  10.  
  11. F = rtgetstring(F,"Enter Find String","XDMD Find Requester","_Next|_Prev|_Set|_Cancel")
  12. F = '(' || strip(F,"T") || ')'
  13. if rtresult = 0 then exit
  14. 'findstr' F
  15. if rtresult = 1 then "next"
  16. else if rtresult = 2 then "prev"
  17.